{# Expect a GroupByResult object #}
{% load report_tags %}
<table class="report_data report" border="0" cellspacing="1" cellpadding="0" width="80%">
	<tr class="variety_pass">
		<td>PASSED</td>
		<td>{{ case_runs_status_subtotal.PASSED }}</td>
		<td>{{ case_runs_status_subtotal.PASSED|default:0|percentage:case_runs_status_subtotal.TOTAL }}</td>
	</tr>
	<tr class="variety_fail">
		<td>FAILED</td>
		<td>{{ case_runs_status_subtotal.FAILED }}</td>
		<td>{{ case_runs_status_subtotal.FAILED|default:0|percentage:case_runs_status_subtotal.TOTAL }}</td>
	</tr>
	<tr class="variety_idel">
		<td>IDLE</td>
		<td>{{ case_runs_status_subtotal.IDLE }}</td>
		<td>{{ case_runs_status_subtotal.IDLE|default:0|percentage:case_runs_status_subtotal.TOTAL }}</td>
	</tr>
	<tr class="variety_error">
		<td>ERROR</td>
		<td>{{ case_runs_status_subtotal.ERROR }}</td>
		<td>{{ case_runs_status_subtotal.IDLE|default:0|percentage:case_runs_status_subtotal.TOTAL }}</td>
	</tr>
	<tr class="variety_tested">
		<td>PAUSED</td>
		<td>{{ case_runs_status_subtotal.PAUSED }}</td>
		<td>{{ case_runs_status_subtotal.PAUSED|default:0|percentage:case_runs_status_subtotal.TOTAL }}</td>
	</tr>
	<tr class="variety_block">
		<td>BLOCKED</td>
		<td>{{ case_runs_status_subtotal.BLOCKED }}</td>
		<td>{{ case_runs_status_subtotal.BLOCKED|default:0|percentage:case_runs_status_subtotal.TOTAL }}</td>
	</tr>
	<tr class="variety_running">
		<td>RUNNING</td>
		<td>{{ case_runs_status_subtotal.RUNNING }}</td>
		<td>{{ case_runs_status_subtotal.RUNNING|default:0|percentage:case_runs_status_subtotal.TOTAL }}</td>
	</tr>
	<tr class="variety_waived">
		<td>WAIVED</td>
		<td>{{ case_runs_status_subtotal.WAIVED }}</td>
		<td>{{ case_runs_status_subtotal.WAIVED|default:0|percentage:case_runs_status_subtotal.TOTAL }}</td>
	</tr>
</table>